<ion-view title="客户详情" class="customer-info">
  <ion-content class="has-footer">
    <div class="head">
      <div class="head-img">
        <img src="img/my/head_pic.png" alt="">
      </div>
      <div class="head-info">
        <p>夯大力{{customerInfo.name}}<span class = "tag new">男</span></p>
        <p class="address">上海市普陀区漕河泾开发区</p>
      </div>
      <div class="head-icon-msg"></div>
      <div class="head-icon-phone"></div>
    </div>
    <hr-tab tab="customerInfo.tab" tab-content="customerInfo.name">
      <hr-tab-content ng-show="customerInfo.name === 0">
        <!--客户详情start-->
        <div class="detail">
          <div class="list">
            <a class="item">
              <p class="item-p">姓名</p>
              <h2 class="item-h2">李大伟</h2>
            </a>
            <a class="item">
              <p class="item-p">手机</p>
              <h2 class="item-h2">144347838234</h2>
            </a>
            <a class="item">
              <p class="item-p">身份证</p>
              <h2 class="item-h2">3154896758144347838234</h2>
            </a>
            <a class="item">
              <p class="item-p">客户状态</p>
              <h2 class="item-h2">追踪</h2>
            </a>
            <a class="item">
              <p class="item-p"> 客户层级</p>
              <h2 class="item-h2">B级</h2>
            </a>
            <a class="item item-icon-right item-h2">
              <i class="icon  ion-ios-arrow-right"></i>
              <p class="item-p">地址</p>
              <h2 class="item-h2">上海市普陀区1108号</h2>
            </a>
            <a class="item">
              <p class="item-p">所属行业</p>
              <h2 class="item-h2">金融</h2>
            </a>
          </div>
          <div class="list list-line">
            <a class="item item-icon-right fs14">
              工作记录
            </a>
            <hr-item-list content="客户拜访" remark="2017-12-14 13:56"></hr-item-list>
            <hr-item-list content="跟进记录" remark="2017-12-14 13:56"></hr-item-list>
            <hr-item-list content="客户拜访" remark="2017-12-14 13:56"></hr-item-list>
          </div>
        </div>
        <!--客户详情end-->
      </hr-tab-content>
      <hr-tab-content ng-show="customerInfo.name === 1">
        <!--计划书start-->
        <div class="prospectus">
          <hr-list translate list-content="CUSTOMER_INFO_LIST" top="20" list="list1"></hr-list>
          <!--<div class="list">-->
            <!--<a class="item item-avatar item-icon-right">-->
              <!--<img src="img/home/home-header1.png">-->
              <!--<h2 class = "title-text"><div>龙行富贵</div></h2>-->
              <!--<p class="date-text">2017-12-26 14:26</p>-->
              <!--<i class="icon  ion-ios-arrow-right"></i>-->
            <!--</a>-->
            <!--<a class="item item-avatar item-icon-right">-->
              <!--<img src="img/home/home-header2.png">-->
              <!--<h2 class = "title-text"><div>龙行乐享</div></h2>-->
              <!--<p class="date-text">2017-03-06 12:33</p>-->
              <!--<i class="icon  ion-ios-arrow-right"></i>-->
            <!--</a>-->
            <!--<a class="item item-avatar item-icon-right">-->
              <!--<img src="img/home/home-header4.png">-->
              <!--<h2 class = "title-text"><div class ="title">精彩人生</div></h2>-->
              <!--<p class="date-text">2017-04-01 11:11</p>-->
              <!--<i class="icon  ion-ios-arrow-right"></i>-->
            <!--</a>-->
          <!--</div>-->
          <div class="add-button">
            <button class="button button-full button-light">
              新增计划书 <i class="icon-add"></i>
            </button>
          </div>
        </div>
        <!--计划书end-->
      </hr-tab-content>
      <hr-tab-content ng-show="customerInfo.name ===  2"></hr-tab-content>
      <hr-tab-content ng-show="customerInfo.name === 3">
        <!--日程安排-->
        <div class="schedule">
          <hr-task-list list="customerInfo.scheduleData"></hr-task-list>
        </div>
        <!--日程安排end-->
      </hr-tab-content>
    </hr-tab>
  </ion-content>
  <div style="position: absolute;bottom:0;width:100%;border-top:1px solid #dcdcdc;margin:0;">
    <hr-flex-button-group buttons="customerInfo.buttons" line-count="4" icon-style="width:20px;height:20px;" text-style="color:#21a1eb;margin-bottom:0;margin-top:2px;"></hr-flex-button-group>
  </div>
</ion-view>
